package cn.silver.framework.web.model;

import cn.silver.framework.core.model.DictModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * @author zhouxiaobo
 */
@Data
@NoArgsConstructor
@Schema(name = "TreeResult", title = "树结构选择框数据")
public class TreeResult implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    @Schema(title = "id集合")
    private List<String> keys;
    @Schema(title = "字典数据")
    private List<DictModel> dicts;
    @Schema(title = "树结构数据")
    private List<TreeModel> trees;
}
